Table of Contents

Class: SQLConnection .\src\TW\Database\Connections.py
Base Classes   
ManagedConnection
    SEF.Service
Methods   
__call__
_close
format
  __call__ 
__call__ (
        self,
        sql,
        rows=0,
        getResults=1,
        transacted=0,
        resultMaker=None,
        )

  _close 
_close ( self )

  format 
format (
        self,
        value,
        fieldType='VARCHAR',
        precision=None,
        quote=1,
        )

Format an atomic value for insertion into an SQL statement

fieldType specifies the target datatype, precision is the number of bytes, characters, or digits of the specified type. quote is a flag that can be set to a false value to avoid quoting of textual values (useful when assembling a text value from multiple parts).

Subclasses can extend this method to support additional field types.


Table of Contents

This document was automatically generated on Tue Mar 05 10:33:44 2002 by HappyDoc version WORKING